<table cellpadding=0 cellspacing=0 class="dTable">
    <thead>
        <tr>
            <th>订单编号</th>
            <th>收货人</th>
            <th>收货电话</th>
            <th>商品名称</th>
            <th>订单金额</th>
            <th>商品数量</th>
            <th>物流</th>
            <th>状态</th>
            <th>下单时间</th>
        </tr>
    </thead>
    <tbody>
        {strip}
            {section name=ls loop=$orderlist}
                <tr {if $smarty.section.ls.index is odd by 1}class="odd"{/if}>
                    <td># {$orderlist[ls].serial_number}</td>
                    <td>{$orderlist[ls].address.user_name}</td>
                    <td>{$orderlist[ls].address.tel_number}</td>
                    <td class="xleft pdName">{$orderlist[ls].data[0].product_name}</td>
                    <td class="xleft prices font12">&yen;{$orderlist[ls].order_amount}</td>
                    <td>{$orderlist[ls].product_count} 件</td>
                    <td>
                        {if $orderlist[ls].express_code ne ''}
                            {if $orderlist[ls].status == 'received' || $orderlist[ls].status == 'delivering'}
                                <a class="pd-list-viewExp fancybox.ajax" data-fancybox-type="ajax" href="{$docroot}?/Wdmin/ajaxLoadOrderExpress/com={$orderlist[ls].express_com}&nu={$orderlist[ls].express_code}">
                                    {$orderlist[ls].express_code} ({$orderlist[ls].expressName})
                                </a>
                            {/if}
                        {/if}
                    </td>
                    <td class="orderstatus {$orderlist[ls].status}">{$orderlist[ls].statusX}</td>
                    <td>{$orderlist[ls].order_time}</td>
                </tr>
            {/section}
        {/strip}
    </tbody>
</table>